<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>
<div style="margin-bottom: 5px;">
    		<strong>温馨提示：</strong><br/>
    		1、项目承担单位应正确填列资金来源，支出预算和测算依据；<br/>
2、“新增投入”从项目立项实施年度当年1月1日起算；例如：2014年申报2015年的项目，“新增投入”是指从2015年项目实施开始的投入费用。<br/>
3、经费预算作为项目评审立项、经费批复、绩效考核的依据；<br/>
</div>
<div class="t_bar">
	经费预算（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg">
	<tr>
		<td  nowrap align="right">课题总投资：</td>
		<td ><input type="text" style="text-align: right;width: 100px"
			name="budgets/input_total" id="source_total"
			class="gray " disabled
			label="经费预算-->课题总投资" 
			value="<x:out select="$xmlData/data/budgets/input_total" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<td  nowrap align="right">已完成投资：</td>
		<td><input type="text" style="text-align: right;width: 100px"
			name="budgets/already_input_total" id="source_already"
			class=" gray" label="经费预算-->已完成投资" disabled
			value="<x:out select="$xmlData/data/budgets/already_input_total" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<td  nowrap align="right">计划新增投资：</td>
		<td ><input type="text" style="text-align: right;width: 100px"
			name="budgets/add_research" id="source_add"
			class=" gray valueEqual:source_add:total_invest_18" disabled
			label="经费预算-->计划新增投资"
			value="<x:out select="$xmlData/data/budgets/add_research" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<td align="right"></span>申请专项经费：</td>
		<td ><input type="text"
			style="text-align: right;width: 100px" name="budgets/apply_money"
			id="source_apply"
			class=" valueEqual:source_apply:total_fund_18 valueEqual:source_apply:source_provincial" label="经费预算-->申请专项经费"
			onchange="setSource(this.value);countFundAuto('source_','own,bank,other,country,provincial,city','add,add_total');countFundAuto('source_','already,add','total');synchro();countProvince(this.id,'source_provincial');setTJBMval();"
			value="<x:out select="$xmlData/data/budgets/apply_money" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
	</tr>
</table>
<br/>
<div class="t_bar">
	已完成投资来源（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg1">
	<tr align="center" class="li_2">
		<td rowspan="2">合计</td>
		<td rowspan="2">单位自筹</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="3">政府资助</td>
		<td rowspan="2" >其他来源</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<!-- <td>区级</td> -->
	</tr>
	<tr class="li_1">
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/source_already_total" id="source_already_total"
		   class=" gray" disabled 
			value="<x:out select="$xmlData/data/budgets/source_already_total" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
	
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/own_fund_over" id="source_own_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->单位自筹"
			value="<x:out select="$xmlData/data/budgets/own_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/bank_fund_over" id="source_bank_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->银行贷款"
			value="<x:out select="$xmlData/data/budgets/bank_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

	

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/country_fund_over" id="source_country_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->政府资助（国家）"
			value="<x:out select="$xmlData/data/budgets/country_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/provincial_fund_over" id="source_provincial_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->政府资助（省级）"
			value="<x:out select="$xmlData/data/budgets/provincial_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/city_fund_over" id="source_city_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->政府资助（市级）"
			value="<x:out select="$xmlData/data/budgets/city_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
	<%-- 	<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/area_fund_over" id="source_area_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->已获政府资助（区级）"
			value="<x:out select="$xmlData/data/budgets/area_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td> --%>
		
	<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/other_fund_over" id="source_other_over"
			onchange="countFundAuto('source_','own_over,bank_over,other_over,country_over,provincial_over,city_over','already,already_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="已完成投资来源-->其他来源"
			value="<x:out select="$xmlData/data/budgets/other_fund_over" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>	
	</tr>
</table>
<br/>
<div class="t_bar">
	计划新增投资来源（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1"  id="budgetsMsg2">
	<tr align="center" class="li_2">
		<td rowspan="2">合计</td>
		<td rowspan="2">单位自筹</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="3">政府资助</td>
		<td rowspan="2" >其他来源</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
	<!-- 	<td>区级</td> -->
	</tr>
	<tr class="li_1">
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/source_add_total" id="source_add_total"
			class=" gray" disabled
			value="<x:out select="$xmlData/data/budgets/source_add_total" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
	
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/own_fund" id="source_own"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->单位自筹"
			value="<x:out select="$xmlData/data/budgets/own_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/bank_fund" id="source_bank"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->银行贷款"
			value="<x:out select="$xmlData/data/budgets/bank_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/country_fund" id="source_country"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->政府资助（国家）"
			value="<x:out select="$xmlData/data/budgets/country_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>

		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/provincial_fund" id="source_provincial"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class=" gray" disabled label="计划新增投资来源-->政府资助（省级）"
			value="<x:out select="$xmlData/data/budgets/provincial_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/city_fund" id="source_city"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->政府资助（市级）"
			value="<x:out select="$xmlData/data/budgets/city_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>
		<%-- <td><input type="text" style="text-align: right; width: 100px"
			name="budgets/area_fund" id="source_area"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->申请政府资助（区级）"
			value="<x:out select="$xmlData/data/budgets/area_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td> --%>
		
	<td><input type="text" style="text-align: right; width: 100px"
			name="budgets/other_fund" id="source_other"
			onchange="countFundAuto('source_','own,bank,other,country,provincial,city,area','add,add_total');countFundAuto('source_','already,add','total');synchro();"
			class="" label="计划新增投资来源-->其他来源"
			value="<x:out select="$xmlData/data/budgets/other_fund" />"
			onfocus="InitInput.setNumber(this,7,4,2)" /></td>	
	</tr>
</table>
<br/>
<div class="t_bar">
	计划新增投资支出情况（单位：万元）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="fundInfo">

	<tr class="t_tr">
		<td align="center" width="25%">支出科目</td>
		<td class="TblHead" align="center" width="20%">新增投资总额</td>
		 <td class="TblHead" align="center" width="20%">专项经费</td>
		 <td class="TblHead" align="center"width="35%">说明</td>  
	</tr>
	<tr >
		<td align="center" ><strong>合计</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[18]@invest_code"  value="18">
			<input type="hidden" name="budget/invest_detail/invest[18]/name" value="合计">
			<input type="text" name="budget/invest_detail/invest[18]/total_invest" id="total_invest_18" 
				    label="计划新增投资支出情况-->合计-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:150px;" 
				   class="gray" disabled
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_invest" />" />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[18]/total_fund" id="total_fund_18"
				    class="gray" disabled label="计划新增投资支出情况-->合计-->专项经费"  style="text-align:right; width:150px;" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_fund" />" />
		</td>
		<td align="center">
		<input type="text" style="width:200px" id="total_allot_18"  name="budget/invest_detail/invest[18]/total_allot" 
				    maxlength="50" label="合计-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style=""><strong>一、直接费用</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[00]@invest_code" value="00" />
			<input type="hidden" name="budget/invest_detail/invest[00]/name" value="一、直接费用" />
			<input type="text" name="budget/invest_detail/invest[00]/total_invest" id="total_invest_0"
				   class="gray" disabled label="计划新增投资支出情况-->直接费用-->新增投资总额"  style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_invest" />" />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[00]/total_fund" id="total_fund_0"
				    class="gray" disabled label="直接费用-->专项经费"  style="text-align:right; width:150px;" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[00]/total_allot" id="total_allot_0" 
				    label="计划新增投资支出情况-->直接费用-->说明"   maxlength="50"
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_allot" />" />
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">1、设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[01]@invest_code" value="01" />
			<input type="hidden" name="budget/invest_detail/invest[01]/name" value="1、设备费" />
			<input type="text" name="budget/invest_detail/invest[01]/total_invest" id="total_invest_1" 
				   class="gray" disabled label="计划新增投资支出情况-->设备费-->新增投资总额"  style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_invest" />" />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[01]/total_fund" id="total_fund_1"
				    class="gray" disabled label="设备费-->专项经费"  style="text-align:right; width:150px;" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[01]/total_allot" id="total_allot_1" 
				    label="计划新增投资支出情况-->设备费-->说明"   maxlength="50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_allot" />" 
			/>
		</td>
	
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（1）购置设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[02]@invest_code" value="02" />
			<input type="hidden" name="budget/invest_detail/invest[02]/name" value="（1）购置设备费" />
			<input type="text" name="budget/invest_detail/invest[02]/total_invest" id="total_invest_2"
					 onfocus="InitInput.setNumber(this,7,4,2)" class="valueGreatEqual:total_invest_2:total_fund_2"
				    label="计划新增投资支出情况-->购置设备费-->新增投资总额"  style="text-align:right; width:150px;" 
				    onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				     countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_invest" />"/>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[02]/total_fund" id="total_fund_2"
				    label="购置设备费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				     onchange="countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				     countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				   countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[02]/total_allot" id="total_allot_2"  
				    label="计划新增投资支出情况-->购置设备费-->说明"   maxlength="50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_allot" />" />
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（2）自制设备费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[03]@invest_code"  value="03">
			<input type="hidden" name="budget/invest_detail/invest[03]/name" value="（2）自制设备费">
			<input type="text" name="budget/invest_detail/invest[03]/total_invest" id="total_invest_3"
				    onfocus="InitInput.setNumber(this,7,4,2)" class="valueGreatEqual:total_invest_3:total_fund_3"
				    label="计划新增投资支出情况-->自制设备费-->新增投资总额"  style="text-align:right; width:150px;"
				     onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				     countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				   countFundAuto('total_','invest_0,invest_15','invest_18');"
				     value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_invest" />"/>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[03]/total_fund" id="total_fund_3"
				    label="自制设备费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    onchange="countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				     countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				   countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[03]/total_allot" id="total_allot_3"
				    label="计划新增投资支出情况-->自制设备费-->说明"   maxlength="50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:40px">（3）设备改造与租赁</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[04]@invest_code"  value="04">
			<input type="hidden" name="budget/invest_detail/invest[04]/name" value="（3）设备改造与租赁">
			<input type="text" name="budget/invest_detail/invest[04]/total_invest" id="total_invest_4" 
			         onfocus="InitInput.setNumber(this,7,4,2)" class="valueGreatEqual:total_invest_4:total_fund_4"
				    label="计划新增投资支出情况-->设备改造与租赁-->新增投资总额"  
				     onchange="countFundAuto('total_','invest_2,invest_3,invest_4','invest_1');
				     countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				   countFundAuto('total_','invest_0,invest_15','invest_18');"
				    style="text-align:right; width:150px;" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_invest" />"	/>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[04]/total_fund" id="total_fund_4"
				    label="设备改造与租赁-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    onchange="countFundAuto('total_','fund_2,fund_3,fund_4','fund_1');
				     countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				   countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[04]/total_allot" id="total_allot_4"  
				  label="计划新增投资支出情况-->设备改造与租赁-->说明"  maxlength="50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_allot" />"	/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">2、材料费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[05]@invest_code"  value="05">
			<input type="hidden" name="budget/invest_detail/invest[05]/name" value="2、材料费">
			<input type="text" name="budget/invest_detail/invest[05]/total_invest" id="total_invest_5" 
				    label="计划新增投资支出情况-->材料费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_5:total_fund_5"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[05]/total_fund" id="total_fund_5"
				    label="材料费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	  onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');"
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[05]/total_allot" id="total_allot_5" 
				   maxlength="50" label="计划新增投资支出情况-->材料费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">3、测试化验加工费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[06]@invest_code"  value="06">
			<input type="hidden" name="budget/invest_detail/invest[06]/name" value="3、测试化验加工费">
			<input type="text" name="budget/invest_detail/invest[06]/total_invest" id="total_invest_6" 
				    label="计划新增投资支出情况-->测试化验加工费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:150px;" class="valueGreatEqual:total_invest_6:total_fund_6"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_invest" />" 
				  onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');" />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[06]/total_fund" id="total_fund_6"
				    label="测试化验加工费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	  onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
					  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[06]/total_allot"  id="total_allot_6"  
				    label="计划新增投资支出情况-->测试化验加工费-->说明"  maxlength="50"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">4、燃料动力费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[07]@invest_code"  value="07">
			<input type="hidden" name="budget/invest_detail/invest[07]/name" value="4、燃料动力费">
			<input type="text" name="budget/invest_detail/invest[07]/total_invest" id="total_invest_7" 
				    label="计划新增投资支出情况-->燃料动力费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" class="valueGreatEqual:total_invest_7:total_fund_7"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_invest" />" 
				  onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[07]/total_fund" id="total_fund_7"
				    label="燃料动力费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	  onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
					  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[07]/total_allot"  id="total_allot_7" 
				    maxlength="50" label="计划新增投资支出情况-->燃料动力费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">5、差旅费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[08]@invest_code"  value="08">
			<input type="hidden" name="budget/invest_detail/invest[08]/name" value="5、差旅费">
			<input type="text" name="budget/invest_detail/invest[08]/total_invest" id="total_invest_8" 
				    label="计划新增投资支出情况-->差旅费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" class="valueGreatEqual:total_invest_8:total_fund_8"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[08]/total_fund" id="total_fund_8"
				    label="差旅费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[08]/total_allot"  id="total_allot_08" 
				    maxlength="50" label="计划新增投资支出情况-->差旅费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">6、会议费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[09]@invest_code"  value="09">
			<input type="hidden" name="budget/invest_detail/invest[09]/name" value="6、会议费">
			<input type="text" name="budget/invest_detail/invest[09]/total_invest" id="total_invest_9" 
				    label="计划新增投资支出情况-->会议费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_9:total_fund_9"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_invest" />" 
				  onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[09]/total_fund" id="total_fund_9"
				    label="会议费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[09]/total_allot"  id="total_allot_9"  
				    maxlength="50" label="计划新增投资支出情况-->会议费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='09']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">7、国际合作与交流费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[10]@invest_code"  value="10">
			<input type="hidden" name="budget/invest_detail/invest[10]/name" value="7、国际合作与交流费">
			<input type="text" name="budget/invest_detail/invest[10]/total_invest" id="total_invest_10" 
				    label="计划新增投资支出情况-->国际合作与交流费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_10:total_fund_10"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[10]/total_fund" id="total_fund_10"
				    label="国际合作与交流费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[10]/total_allot" id="total_allot_10"  
				    maxlength="50" label="计划新增投资支出情况-->国际合作与交流费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='10']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">8、信息费（出版/文献/信息传播<br/>&nbsp;&nbsp;&nbsp;&nbsp;/知识产权事物费等）</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[11]@invest_code"  value="11">
			<input type="hidden" name="budget/invest_detail/invest[11]/name" value="8、信息费（出版/文献/信息传播/知识产权事物费等）">
			<input type="text" name="budget/invest_detail/invest[11]/total_invest" id="total_invest_11" 
				    label="计划新增投资支出情况-->信息费（出版/文献/信息传播/知识产权事务费等）-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:150px;" class="valueGreatEqual:total_invest_11:total_fund_11"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_invest" />" 
					onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[11]/total_fund" id="total_fund_11"
				    label="信息费（出版/文献/信息传播/知识产权事务费等）-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" name="budget/invest_detail/invest[11]/total_allot" id="total_allot_11" 
				    maxlength="50" label="计划新增投资支出情况-->信息费（出版/文献/信息传播/知识产权事务费等）-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_allot" />"/>
		</td>
	</tr>
	
	
	<tr >
		<td align="left" style="padding-left:20px">9、专家咨询费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[12]@invest_code"  value="12">
			<input type="hidden" name="budget/invest_detail/invest[12]/name" value="9、专家咨询费">
			<input type="text" name="budget/invest_detail/invest[12]/total_invest" id="total_invest_12" 
				    label="计划新增投资支出情况-->专家咨询费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_12:total_fund_12"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_invest" />" 
				onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[12]/total_fund" id="total_fund_12"
				    label="专家咨询费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');"
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_12"  name="budget/invest_detail/invest[12]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->专家咨询费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_allot" />"/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">10、劳务费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[13]@invest_code"  value="13">
			<input type="hidden" name="budget/invest_detail/invest[13]/name" value="10、劳务费">
			<input type="text" name="budget/invest_detail/invest[13]/total_invest" id="total_invest_13" 
				    label="计划新增投资支出情况-->劳务费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:150px;" class="valueGreatEqual:total_invest_13:total_fund_13"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_invest" />" 
				  onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[13]/total_fund" id="total_fund_13"
				    label="劳务费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');"
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_13"  name="budget/invest_detail/invest[13]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->劳务费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_allot" />"/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">11、其他支出</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[14]@invest_code"  value="14">
			<input type="hidden" name="budget/invest_detail/invest[14]/name" value="11、其他支出">
			<input type="text" name="budget/invest_detail/invest[14]/total_invest" id="total_invest_14" 
				    label="计划新增投资支出情况-->其他支出-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_14:total_fund_14"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_invest" />" 
				   onchange="countFundAuto('total_','invest_1,invest_5,invest_6,invest_7,invest_8,invest_9,invest_10,invest_11,invest_12,invest_13,invest_14','invest_0'); 
				     countFundAuto('total_','invest_0,invest_15','invest_18');"  />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[14]/total_fund" id="total_fund_14"
				    label="其他支出-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_1,fund_5,fund_6,fund_7,fund_8,fund_9,fund_10,fund_11,fund_12,fund_13,fund_14','fund_0'); 
				  			 countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_14"  name="budget/invest_detail/invest[14]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->其他支出-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_allot" />"/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style=""><strong>二、间接费用</strong></td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[15]@invest_code"  value="15">
			<input type="hidden" name="budget/invest_detail/invest[15]/name" value="二、间接费用">
			<input type="text" name="budget/invest_detail/invest[15]/total_invest" id="total_invest_15" 
				   class="gray" disabled label="计划新增投资支出情况-->间接费用-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)" 
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_invest" />" />
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[15]/total_fund" id="total_fund_15"
				    class="gray" disabled label="间接费用-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_15"  name="budget/invest_detail/invest[15]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->间接费用-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_allot" />"/>
		</td>
	</tr>
	<tr >
		<td align="left" style="padding-left:20px">1、管理费</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[16]@invest_code"  value="16">
			<input type="hidden" name="budget/invest_detail/invest[16]/name" value="1、管理费">
			<input type="text" name="budget/invest_detail/invest[16]/total_invest" id="total_invest_16" 
				    label="计划新增投资支出情况-->管理费-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_16:total_fund_16"
				    onchange="countFundAuto('total_','invest_16,invest_17','invest_15');countFundAuto('total_','invest_0,invest_15','invest_18');"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_invest" />"/>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[16]/total_fund" id="total_fund_16"
				    label="管理费-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_16,fund_17','fund_15');countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_16"  name="budget/invest_detail/invest[16]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->管理费-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_allot" />"/>
		</td>
	</tr>
	
	<tr >
		<td align="left" style="padding-left:20px">2、绩效支出</td>
		<td align="center">
			<input type="hidden" name="budget/invest_detail/invest[17]@invest_code"  value="17">
			<input type="hidden" name="budget/invest_detail/invest[17]/name" value="2、绩效支出">
			<input type="text" name="budget/invest_detail/invest[17]/total_invest" id="total_invest_17" 
				    label="计划新增投资支出情况-->绩效支出-->新增投资总额"  onfocus="InitInput.setNumber(this,7,4,2)"  class="valueGreatEqual:total_invest_17:total_fund_17"
				    onchange="countFundAuto('total_','invest_16,invest_17','invest_15');countFundAuto('total_','invest_0,invest_15','invest_18');"
				   style="text-align:right; width:150px;" 
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_invest" />"/>
		</td>
		<td align="center">
			<input type="text" name="budget/invest_detail/invest[17]/total_fund" id="total_fund_17"
				    label="绩效支出-->专项经费"  style="text-align:right; width:150px;" 
				     onfocus="InitInput.setNumber(this,7,4,2)"
				    	 onchange="countFundAuto('total_','fund_16,fund_17','fund_15');countFundAuto('total_','fund_0,fund_15','fund_18');" 
				    value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_fund" />" />
		</td>
		<td align="center">
			<input type="text" style="width:200px" id="total_allot_17"  name="budget/invest_detail/invest[17]/total_allot" 
				    maxlength="50" label="计划新增投资支出情况-->绩效支出-->说明"
				   value="<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_allot" />"/>
		</td>
	</tr>
</table>
<br/>
<div class="t_bar">需增添的主要仪器设备（使用专项经费购买价值5万元以上的设备）</div>
<table  id="tblEuipmentLists" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">选择</th>
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="9%">设备名称</th> 
						<th class="TblHead" align="center"  width="9%">型号</th>  
				        <th class="TblHead" align="center"  width="9%">价格<br/>（万元/台件）</th> 
						<th class="TblHead" align="center"  width="9%">增添理由</th>         
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" name="euipments|list[0]|name" label="设备名称" class="  input_text " maxlength="50" style="width:80%"/>
						</td>
						
						<td align="center">
							<input type="text" name="euipments|list[0]|model" label="型号" class=" input_text " maxlength="50" style="width:80%"/>
						</td>
						
						<td align="center">
							<input type="text" name="euipments|list[0]|price" label="价格" id="price_[index]" class="input_text  valueGENum:price_[index]:5万元" onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%" />
						</td> 
					
						<td align="center">
							<input type="text" name="euipments|list[0]|remark" label="增添理由"  class=" input_text " maxlength="100" style="width:80%"/>
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/euipments/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments/list[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/name"  label="设备名称" style="width:80%"   class="input_text " value="<x:out select="$list/name" />" maxlength="50"/>
						</td>
						
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/model"  label="型号" style="width:80%"   class=" input_text " value="<x:out select="$list/model" />" maxlength="50"/>
						</td>
						
						<td >
							<input type="text" name="euipments/list[${flag}${index}]/price" id="price_${index+1}"  label="价格"  onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%"  class="input_text  valueGENum:price_${index+1}:5万元" value="<x:out select="$list/price" />"/>
						</td> 
						
						<td>
							<input type="text" name="euipments/list[${flag}${index}]/remark"  label="增添理由"  style="width:80%"   class=" input_text " value="<x:out select="$list/remark" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblEuipmentLists");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center" border="0">
					<tr style="border: 0"><td style="border: 0">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblEuipmentLists');showDateTag('tblEuipmentLists');try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblEuipmentLists','selEuipmentLists')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblEuipmentLists','selEuipmentLists')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblEuipmentLists','条仪器设备记录');">
					</td></tr>
	</table>
<script type="text/javascript">
$(document).ready(function() {
var prp_version=$("#prp_version").text();

if(prp_version==""||prp_version==null){
	$("#budgetsMsg").find(":input").each(function(){
	$(this).val("0.00");	
	});
	
	$("#budgetsMsg1").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#budgetsMsg2").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#fundAdds").find(":input[type!=hidden]").each(function(){
		$(this).val("0.00");	
		});
}

/* var flag_shizhi = $("#flag_shizhi").val();
if(flag_shizhi ==  1){
	$("#source_city").attr("disabled",true);
    $("#source_city").addClass("gray");
}else{ */
	$("#source_city").attr("disabled",false);
/* 	$("#source_area").attr("disabled",true);
	$("#source_city").addClass("gray");
	$("#source_area").addClass("gray"); */
/* } */
	
});

function synchro(){
	var val = $("#source_apply").val();
	var xmjhtzze = $("#source_total").val();
	$("#sqje").val(formatNumberAuto(val+"", 7, 4, 2));
	$("#xmjhtzze").val(formatNumberAuto(xmjhtzze+"", 7, 4, 2));
}

function setSource(val){
	var areaNo = $("input[name$='area_no']").val();
	var flag_shizhi = $("#flag_shizhi").val();
	if(flag_shizhi ==  1){
		if((formatNumberAuto(val+"", 7, 4, 2)*10000)%10000!=0)
			$("#source_city").val(formatNumberAuto(val+"0000", 7, 4, 2));
		else
			$("#source_city").val(formatNumberAuto(val+".0000", 7, 4, 2));
		$("#source_area").val("0.00");
	}else{
		if(areaNo == '320202' || areaNo == '320204' || areaNo == '320203'){
			
		if((formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)%10000!=0)
			$("#source_city").val(formatNumberAuto(val*0.8+"0000", 7, 4, 2));
		else
			$("#source_city").val(formatNumberAuto(val*0.8+".0000", 7, 4, 2));
		
		
		if((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)%10000!=0){
		 	$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
		}else{
			$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.8+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
		}
		}else if(areaNo == '320205' || areaNo == '320206' || areaNo == '320211' || areaNo == '320212'){
			//$("#source_city").val(formatNumberAuto(val*0.5+"", 7, 4, 2));
			if((formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)%10000!=0)
				$("#source_city").val(formatNumberAuto(val*0.5+"0000", 7, 4, 2));
			else
				$("#source_city").val(formatNumberAuto(val*0.5+".0000", 7, 4, 2));
			
			if((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)%10000!=0){
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
			}else
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.5+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
		}else if(areaNo == '320281' || areaNo == '320282'){
			//$("#source_city").val(formatNumberAuto(val*0.2+"", 7, 4, 2));
			if((formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)%10000!=0)
				$("#source_city").val(formatNumberAuto(val*0.2+"0000", 7, 4, 2));
			else
				$("#source_city").val(formatNumberAuto(val*0.2+".0000", 7, 4, 2));
			if((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)%10000!=0){
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)/10000)+"0000", 7, 4, 2));
			}else{
				$("#source_area").val(formatNumberAuto(((val*10000-formatNumberAuto(val*0.2+"", 7, 4, 2)*10000)/10000)+".0000", 7, 4, 2));
				
			}
		}
	}
}

function  countProvince(id1,id2){
	var val1 = $("#"+id1).val();
	if(!$.isNumeric(val1)){
		val1 = '';
	}
	$("#"+id2).val(formatNumberAuto(val1+".0000", 7, 4, 2));
}
function setTJBMval(){
	var val1 = $("#source_apply").val();
	var val2 =formatNumberAuto(val1+".0000", 7, 4, 2)
	$("#applied").val(val2);
}
</script>
